import { getDefault } from '@/utils/other-request'
const state = {
  envSetting: {
    img_base_url: ''
  }
}

const mutations = {
  SET_ENV_SETTING: (state, envSetting) => {
    state.envSetting = envSetting
  }
}

/**
 * 获取，默认配置
 */
const actions = {
  getEnvSetting({ commit, state }) {
    /*getDefault().then(res => {
      commit('SET_ENV_SETTING', res.data)
    })*/
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}

